home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d7
/
litecom6.arc
/
LCLIB.EXE
/
LITEHCM.H
< prev
next >
Wrap
Text File
|
1991-04-25
|
2KB
|
54 lines
/*
** litehcm.h
** Communications support for Datalight (tm) C
** Copyright (c) 1987 - Information Technology, Ltd.,
** All Rights Reserved
*/
#ifndef LITEHCM_H
#define LITEHCM_H 1
#include "litecomm.h"
#define NUMRES 0 /* numeric result codes */
#define WRDRES 1 /* word result codes */
#define SPKOFF 0 /* speaker off */
#define SPKON 1 /* speaker on until carrier */
#define SPKSPC 2 /* speaker always on */
#define ONHK 0 /* go on-hook (hangup) */
#define OFFHK 1 /* go off-hook (lift receiver) */
#define OFFHKS 2 /* go off-hook, don't close aux relay */
#define BASIC 0 /* basic result set */
#define EXSET1 1 /* extended results set 1 */
#define EXSET3 2 /* extended results set 3 */
#define EXSET4 3 /* extended results set 4 */
#ifdef HCMAIN
static int _restype;
static int _resset;
#endif
int lch_oncarr(unsigned);
int lch_offcarr(unsigned);
int lch_codeset(unsigned,unsigned);
int lch_dial(unsigned,char *);
int lch_fduplex(unsigned);
int lch_hduplex(unsigned);
int lch_onecho(unsigned);
int lch_offecho(unsigned);
int lch_sreg(unsigned,unsigned,int);
int lch_greg(unsigned,unsigned);
int lch_hook(unsigned,unsigned);
int lch_redo(unsigned);
void _settype(int);
void _setset(int);
int _rettype(void);
int _retset(void);
int lch_codeson(unsigned);
int lch_codesoff(unsigned);
int lch_wrdres(unsigned);
int lch_numres(unsigned);
int lch_tone(unsigned);
int lch_pulse(unsigned);
int lch_speaker(unsigned,unsigned);
#endif /* ifdef LITEHCM_H */